package com.dragon.modules.yuegou.mapper.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.modules.yuegou.entity.product.CoupApplyCheckRecordEntity;
import com.dragon.modules.yuegou.model.product.CoupApplyCheckRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 商品券审核记录表 Mapper接口
 *
 * @author pbuilder generated
 * @date 2021-05-11 16:55:17
 * @version 2.0
 */
@Component("proCoupApplyCheckRecordMapper")
public interface CoupApplyCheckRecordMapper extends BaseMapper<CoupApplyCheckRecordEntity> {

    /****
     * 获取最后一个审核记录
     * @param id
     * @return
     */
    CoupApplyCheckRecord getLast(@Param("id") String id);
}
